package dmt16.TelemetrySuit.Controller.SensorTypes
{
	public class AccelerometerXSensor implements ISensorType
	{
		public function AccelerometerXSensor()
		{
		}
		
		public function get sensorType():int
		{
			return SensorType.ACCELEROMETER_X;
		}
		
		public function get dataFormat():int
		{
			return DataFormat.UInt16;
		}
		
		public function addData(value:*, time:Number):void
		{
			_data.push(value as Number);
		}
		
		private var _data:Vector.<Number>=new Vector.<Number>();
		public function get data():Vector.<Number>{
			return _data;
		}
	}
}